//
//  PolicyOrderListCell.m
//  NtoccShipper
//
//  Created by mac on 2019/11/20.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "PolicyOrderListCell.h"
@interface PolicyOrderListCell()
@property (nonatomic,strong) CJLabel *labPolicyType;
@property (nonatomic,strong) CJLabel *labPolicyNum;
@property (nonatomic,strong) CJLabel *labSourceOrderNum;
@property (nonatomic,strong) CJLabel *labDriverOrderNum;
@property (nonatomic,strong) CJLabel *labShipper;
@property (nonatomic,strong) CJLabel *labDriver;
@property (nonatomic,strong) CJLabel *labCarNum;
@property (nonatomic,strong) CJLabel *labOrderDetailCode;
@property (nonatomic,strong) CJLabel *labTranhNum;
@end

@implementation PolicyOrderListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setCellInfoWithModel:(PolicyOrderListModel *)model{
   
    self.labPolicyType.text = model.productName;
    self.labPolicyNum.text = model.applyPolicyNo;
    self.labSourceOrderNum.text = model.mainOrderNumber;
//    self.labDriverOrderNum.text = @"8989797868676767";
    self.labShipper.text = model.orderCreatedByName;
    self.labDriver.text = model.driverName;
    self.labCarNum.text = model.vehicleLicense;
//    self.labOrderDetail/Code.text = model.orderDetailCode;
    self.labTranhNum.text = model.orderDetailNumber;
//    policyNo
}

@end
